package org.code.mallspringboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.code.mallspringboot.pojo.OmsOrderSetting;
import org.code.mallspringboot.service.OmsOrderSettingService;
import org.code.mallspringboot.mapper.OmsOrderSettingMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 */
@Service
public class OmsOrderSettingServiceImpl implements OmsOrderSettingService{
    @Autowired
    private OmsOrderSettingMapper omsOrderSettingMapper;
    @Override
    public OmsOrderSetting selectByOrderId(Long id) {
        return omsOrderSettingMapper.selectByOrderId(id);
    }

    @Override
    public int updateByOrderId(OmsOrderSetting omsOrderSetting) {
        return omsOrderSettingMapper.updateByOrderId(omsOrderSetting);
    }
}




